package com.pm.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pm.common.annotation.Excel;
import com.pm.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 项目与人员关联对象 bid_project_preson_map
 * 
 * @author zxl
 * @date 2022-05-05
 */
public class BidProjectPresonMap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    private Long projectId;

    /** 人员ID */
    private Long personId;

    /** 项目人员类别 */
    private String personType;

    private List<ProjectPerson> projectPersonList;

    private List<String>selectedPerson;

    private Date bidDate;

    private Boolean locked;

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setPersonType(String personType) 
    {
        this.personType = personType;
    }

    public String getPersonType() 
    {
        return personType;
    }

    public List<ProjectPerson> getProjectPersonList() {
        return projectPersonList;
    }

    public void setProjectPersonList(List<ProjectPerson> projectPersonList) {
        this.projectPersonList = projectPersonList;
    }

    public List<String> getSelectedPerson() {
        return selectedPerson;
    }

    public void setSelectedPerson(List<String> selectedPerson) {
        this.selectedPerson = selectedPerson;
    }

    public Date getBidDate() {
        return bidDate;
    }

    public void setBidDate(Date bidDate) {
        this.bidDate = bidDate;
    }

    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("personId", getPersonId())
            .append("personType", getPersonType())
            .toString();
    }
}
